package com.codingman.mybatisdemo4;

import java.util.Optional;

import org.apache.ibatis.annotations.SelectProvider;
import org.mybatis.dynamic.sql.select.render.SelectStatementProvider;
import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
import org.mybatis.dynamic.sql.util.mybatis3.*;

public interface EmployeeMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper<Employee>, CommonUpdateMapper{
	
	@SelectProvider(type = SqlProviderAdapter.class, method = "select")
	Optional<Employee> getEmployeeById(SelectStatementProvider selectStatement);

}
